﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;
using XCBPM.Mobile.DAL;

namespace XCBPM.Mobile.BLL
{
    public class ProcessTasks
    {
        public DataTable GetMyToDoJob(string userName, string processName, int PageNo, int PageSize)
        {
            ProcessTasksDAO processTasks = new ProcessTasksDAO();
            return processTasks.GetMyToDoJob(userName, processName, PageNo, PageSize);
        }

        public DataTable AlReadyApprovalJs(string userName, string processName, int PageNo, int PageSize)
        {
            ProcessTasksDAO processTasks = new ProcessTasksDAO();
            return processTasks.AlReadyApprovalJs(userName, processName, PageNo, PageSize);
        }

        public DataTable MyStartFlowJs(string userName, string processName, int PageNo, int PageSize)
        {
            ProcessTasksDAO processTasks = new ProcessTasksDAO();
            return processTasks.MyStartFlowJs(userName, processName, PageNo, PageSize);
        }
    }
}